package com.fahai.web.dao;

import com.fahai.common.CommonMapper;
import com.fahai.web.entity.LawyerTx;
import com.fahai.web.vo.PayFlowQueryVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface PayFlownoDao extends CommonMapper<LawyerTx> {

    public List<HashMap<String, Object>> selectpayflowList(@Param(value = "uphone") String uphone, @Param(value = "beginTime") String beginTime, @Param(value = "endTime") String endTime, @Param(value = "orderPayState") Integer orderPayState, @Param(value = "orderBy") Integer orderBy);

    /**
     * 统计用户充钱总金额
     * @param conditionvo
     * @return
     */
    public PayFlowQueryVO  getTotalMoney(PayFlowQueryVO conditionvo );

    public Integer selectListCount(@Param(value = "uphone") String uphone, @Param(value = "beginTime") String beginTime, @Param(value = "endTime") String endTime, @Param(value = "orderPayState") Integer orderPayState);

}